<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-heading"><h4>广告新增</h4></div>
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="name">广告名称:</label>
                        <div class="col-sm-6">
                            <input type="text" name="name" id="name" required="required" placeholder="广告名称"  class="form-control">
                        </div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" >广告类型:</label>
                    		<div class="col-sm-6">
                    			 <select name="type" id="type" class="form-control">
                    			 	<option value="1">图片</option>
                    			 	<option value="2">视频</option>
                    			 	<option value="3">标题</option>
                    			 </select>
                    		</div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" for="mobile">描述:</label>
                    		<div class="col-sm-6">
                    			<textarea name="descs" class="form-control"></textarea>
                    		</div>
                    </div>
                   
                     <div class="form-group">
                    		<label class="col-sm-3 control-label" >作用设备:</label>
                    		<div class="col-sm-6">
                    			{foreach name="equips" item="v"}
	                    			<div class="checkbox" style="display: inline-block;">
	                    				<label class="label label-warning">
	                    					<input type="checkbox" name="equip_ids[]"  value="{$v.id}" />
	                    					{$v.name}
	                    				</label>
	                    			</div>
	                    			&nbsp;&nbsp;&nbsp;&nbsp;
                    			{/foreach}
                    		</div>
                    </div>	
                     <div class="form-group" id="title_div" hidden="hidden">
                    		<label class="col-sm-3 control-label" >场馆标题:</label>
                    		<div class="col-sm-6">
                           		 <input type="text" name="title" id="title"  placeholder="场馆标题"  class="form-control">
                       		 </div>
                    </div>
                    <div class="form-group"  id="resource_div">
                	<label class="col-sm-3 control-label" >资源上传:</label>
                		<div class="col-sm-6">
                		<section id="section4" class="section-white">
				            <div class="container">
				                <div class="row">
				                        <div class="row">
	                                        <div class="col-md-12">
	                                            <input type="file" name="files[]" id="demo-fileInput-6" multiple>
	                                            <input  type="hidden" value="" name="url" id="pics" />	
	                                        </div>
				                        </div>
				                </div>
				            </div>
				        </section>
                		</div>
               		</div>
                   
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}windows/add.js'></script>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}admin/custom.js'></script>